// Programming_Scala/src/ch13/twitter-text-client-script.scala

import twitterclient._

val client = new TextClient( new TwitterUserProfile( "BuckTrends" ) )

client.ui.sendTweet( "My First Tweet.  How's this thing work?" )
client.ui.sendTweet( "Is this thing on?" )
client.ui.sendTweet( "Heading to the bathroom..." )

println( "Chat history: " )
client.localCache.history.foreach { t => println( t ) }

